﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Drupalxmlrpc;

using NUnit.Framework;

namespace DrupalxmlrpcTests
{ 
    [TestFixture]
    public class TestXmlRpc
    {
      /*  [Test]
        public void TestDrupalConnect()
        {
            DrupalNodeApiServer server = new DrupalNodeApiServer();
            server.Connect();
        }

        [Test]
        public void TestDrupalLogin()
        {
            DrupalNodeApiServer server = new DrupalNodeApiServer();
            server.Connect();
            server.Login("WebService", "1234");
        }

        [Test]
        public void TestDrupalSaveNode()
        {
            DrupalNodeApiServer server = new DrupalNodeApiServer();
            server.Connect();
            server.Login("WebService", "1234");
            //DrupalNodeInterval node = new DrupalNodeInterval();
            //node = nodeInit(node);
            server.Add();
        }*/

        [Test]
        public void TryToConnect()
        {
            TestDrupalConnection tdc = new TestDrupalConnection();
            tdc.TestConnect();
        }
    }
}
